﻿using CCWin;
using System;
using System.Windows.Forms;

namespace OutbreakForecast
{
    internal static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        private static void Main()
        {
            bool CreateNew;
            System.Threading.Mutex mutex = new System.Threading.Mutex(false, "OutbreakForecast", out CreateNew);
            if (!CreateNew)
            {
                MessageBoxEx.Show("已经启动软件！","提示");
                Application.Exit();
                return;
            }
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new OutbreakForecastFrm());
        }
    }
}